<template>
<h1>{{$t('menus.home')}}</h1>
<upload :fileList='data.fileList'/>
<tEditor v-model="value"/>
</template>

<script lang="ts">
import upload from '@/components/comment/upload.vue'
import tEditor from '@/components/comment/tEditor.vue'
import { useI18n } from 'vue-i18n'
import { defineComponent, reactive, ref } from 'vue'
export default defineComponent({
  components: {
    upload,
    tEditor
  },
  setup() {
    const { t } = useI18n()
    console.log(t('menus.home'));
    const value = ref('')
    const data = reactive(
      {
        fileList: []
      }
    )
    return {
      data,
      value
    }
  }
})
</script>
<style lang="scss" scoped>
</style>
